import { post, get } from '@/common/js/httpHelper'
import * as url from '@/common/js/interfaces'

const addOneRequestRemarks = async (params) => {
  const result = await post(url.addOneRequestRemarks, params)
  return result.data
}

const getRequestRemarksByRefNo = async (refNo) => {
  const result = await get(url.requestRemarksUrl + '/refNo/' + refNo)
  return result.data
}

export default {
  addOneRequestRemarks: addOneRequestRemarks,
  getRequestRemarksByRefNo: getRequestRemarksByRefNo
}
